Class App-Http-Controllers-Config not found

93

use Illuminate\Support\Facades\Auth;
<?php
  
namespace App\Http\Controllers;
  
use Illuminate\Http\Request;
use Config;
  
class UserController extends Controller
{
    /**
     * Display a listing of the resource.
     *
     * @return \Illuminate\Http\Response
     */
    public function index(Request $request)
    {
        $appName = Config::get('app.name');
  
        return view('users');
    }
}

Comments

Submit
0 Comments